home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / diskfile / ofiles11.sit / OpenFileSpy 1.1 Help / card_8467.txt < prev    next >
Encoding:
Text File  |  1990-12-04  |  1.1 KB  |  29 lines

  1. -- card: 8467 from stack: in.1 Help
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2665
  5. -- name: FCB I
  6. ----- HyperTalk script -----
  7. on openCard
  8.   set visible of background button "Forward But" to true
  9.   set visible of background button "Backward But" to true
  10. end openCard
  11.  
  12.  
  13. -- part contents for background part 1
  14. ----- text -----
  15. File Control Block (FCB), con't
  16.  
  17. -- part contents for background part 2
  18. ----- text -----
  19. ΓÇó ioFCBFlNm -- The file number.  I couldn't find this in the books.  I suspect it is something left over from early system versions (and here for compatibility).
  20.  
  21. ΓÇó ioFCBFlags -- Flags that tell something about the state of the file.
  22.         ΓÇó RdWr -- Open for both read and write operations
  23.         ΓÇó Rd -- Open only for read operations
  24.         ΓÇó ResFork -- Resource fork is open
  25.         ΓÇó DataFork -- Data fork of file is open
  26.         ΓÇó Mod -- File has been modified in memory, must be written to disk
  27.         ΓÇó NoMod -- File is memory is copy of file on disk
  28.  
  29. ΓÇó ioFCBStBlk -- This is the disk block that holds the first byte of data in this file.